package com.lagou.config;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {

    @Bean(name = "iService")
    MyService getMyService(){
        return new MyService();
    }
}
